package com.hqyj.base.service;

import com.hqyj.base.model.InfoUser;

import java.util.List;

/**
 * @ProjectName: ERP-System
 * @Package: com.hqyj.base.service
 * @ClassName: UserService
 * @Author: LiYi
 * @Date: 2021-09-06 14:38
 */
public interface InfoUserService {

    /*查询所有的InfoUser*/
    List<InfoUser> queryAllByInfoUser();

    /*添加一条记录到InfoUser*/
    int addInfoUser(InfoUser infoUser);

    /*根据Id删除InfoUser中的记录*/
    int deleteInfoUserById(int id);

    /*根据Id查询当前数据*/
    InfoUser queryInfoUserById(int urlId);

    /*根据Id查询当前数据后，页面重新修改返回的数据*/
    int updateInfoUserById(InfoUser infoUser);

    List<InfoUser> queryFuzzy(String keyword);
}
